package cn.smkt.common.vo;

import java.util.List;


public class PageInfo<T> {
    /**
     * 当前页码
     */
    private String pageCurrent;
    /**
     * 总页数
     */
    private String pageCount;
    /**
     * 总条数
     */
    private String rowCount;

    /**
     * 数据
     */
    private List<T> records;

    public String getPageCurrent() {
        return pageCurrent;
    }

    public void setPageCurrent(String pageCurrent) {
        this.pageCurrent = pageCurrent;
    }

    public String getPageCount() {
        return pageCount;
    }

    public void setPageCount(String pageCount) {
        this.pageCount = pageCount;
    }

    public String getRowCount() {
        return rowCount;
    }

    public void setRowCount(String rowCount) {
        this.rowCount = rowCount;
    }

    public List<T> getRecords() {
        return records;
    }

    public void setRecords(List<T> records) {
        this.records = records;
    }

    @Override
    public String toString() {
        return "PageInfo{" +
                "pageCurrent='" + pageCurrent + '\'' +
                ", pageCount='" + pageCount + '\'' +
                ", rowCount='" + rowCount + '\'' +
                ", records=" + records +
                '}';
    }
}
